home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / mac / Photoshop 4.0 SDK r2 Mac / Examples / Selection / Shape / Common / Shape.r < prev    next >
Encoding:
Text File  |  1996-11-08  |  19.5 KB  |  477 lines  |  [TEXT/CWIE]

  1. /*
  2.     File: Shape.r
  3.  
  4.     Copyright 1996 by Adobe Systems, Inc.
  5. */
  6.  
  7. /********************************************************************************/
  8. /* Defines required by included files */
  9.  
  10. #define plugInName            "Shape"
  11. #define VersionString        "4.0"
  12.  
  13. /********************************************************************************/
  14.  
  15. #if Macintosh
  16. #include "Types.r"
  17. #include "SysTypes.r"
  18. #include "PIGeneral.r"
  19. #include "PIUtilities.r"
  20. #include "DialogUtilities.r"
  21. #endif
  22.  
  23. #if MSWindows
  24. #include "PIGeneral.h"
  25. #include "PIUtilities.r"
  26. #include "WinDialogUtils.r"
  27. #endif
  28.  
  29. #include "PIActions.h"
  30.  
  31. /********************************************************************************/
  32.  
  33. #define plugInComment         "shape example selection plug-in"
  34. #define vendorName            "AdobeSDK"
  35. #define ourSuiteID            'sdK8'
  36. #define ourClassID            ourSuiteID
  37. #define ourEventID            'shpE'
  38.  
  39. #define shapeTriangle        'shP0'
  40. #define shapeSquare            'shP1'
  41. #define shapeCircle            'shP2'
  42. #define shapeStar            'shP3'
  43. #define shapeTreble            'shP4'
  44. #define    shapeRibbon            'shP5'
  45. #define shapeNote            'shP6'
  46. #define typeShape            'tshP'
  47. #define keyCreate            'kcrE'
  48. #define typeCreate            'tcrE'
  49.  
  50. #define    createSelection        'crE0'
  51. #define createMaskpath        'crE1'
  52. #define createLayer            'crE2'
  53.  
  54. #define PathResource        'Path'
  55.  
  56. /********************************************************************************/
  57.  
  58. resource 'PiPL' (ResourceID, purgeable)
  59. {
  60.     {
  61.     Kind { Selection },
  62.     Name { plugInName "..." },
  63.     Category { vendorName },
  64.     Version { (latestSelectionVersion << 16) | latestSelectionSubVersion },
  65.  
  66.     HasTerminology { ourClassID, ourEventID, ResourceID, vendorName " " plugInName },
  67.     /* classID, eventID, aete ID, uniqueString (presence of uniqueString makes it
  68.        non-AppleScript */
  69.  
  70.     EnableInfo { "true" },
  71.  
  72.     #if Macintosh
  73.     Code68K { Selection, $$ID },
  74.     CodePowerPC { 0, 0, "" },
  75.     #endif
  76.     
  77.     #if MSWindows
  78.     CodeWin32X86 { "ENTRYPOINT" },
  79.     #endif
  80.     }
  81. };
  82.  
  83. /* About resources */
  84.  
  85. resource StringResource (AboutID, "About Text", purgeable)
  86. {
  87.     plugInName "\n\n"
  88.     "by Miriam Poursaied, Amacker Bullwinkle, Andrew Coven, and Mark Hamburg.\n\n"
  89.     "Version " VersionString " "
  90.     "Release " ReleaseString "\n"
  91.     "Copyright ⌐ 1996, Adobe Systems Incorporated.\n"
  92.     "All rights reserved.\n\n"
  93.     "An example plug-in selection module for Adobe Photoshop¿."
  94. };
  95.  
  96. /* Parameters Dialog */
  97.  
  98. resource 'DLOG' (ResourceID+1, "UI", purgeable)
  99. {
  100.     {259, 337, 443, 581},
  101.     movableDBoxProc,
  102.     visible,
  103.     goAway,
  104.     0x0,
  105.     ResourceID+1,
  106.     plugInName
  107. };
  108.  
  109. resource 'DITL' (ResourceID+1, "UI", purgeable)
  110. {
  111.     {    /* array DITLarray: 14 elements */
  112.         /* [1] */
  113.         {8, 164, 28, 232},
  114.         Button {
  115.             enabled,
  116.             "OK"
  117.         },
  118.         /* [2] */
  119.         {36, 166, 56, 230},
  120.         Button {
  121.             enabled,
  122.             "Cancel"
  123.         },
  124.         /* [3] */
  125.         {4, 11, 32, 57},
  126.         StaticText {
  127.             disabled,
  128.             "Shape:"
  129.         },
  130.         /* [4] */
  131.         {4, 67, 20, 159},
  132.         RadioButton {
  133.             enabled,
  134.             "Triangle"
  135.         },
  136.         /* [5] */
  137.         {20, 67, 36, 159},
  138.         RadioButton {
  139.             enabled,
  140.             "Square"
  141.         },
  142.         /* [6] */
  143.         {36, 67, 52, 159},
  144.         RadioButton {
  145.             enabled,
  146.             "Circle"
  147.         },
  148.         /* [7] */
  149.         {52, 67, 68, 159},
  150.         RadioButton {
  151.             enabled,
  152.             "Star"
  153.         },
  154.         /* [8] */
  155.         {68, 67, 84, 159},
  156.         RadioButton {
  157.             enabled,
  158.             "Treble"
  159.         },
  160.         /* [9] */
  161.         {84, 67, 100, 159},
  162.         RadioButton {
  163.             enabled,
  164.             "Ribbon"
  165.         },
  166.         /* [10] */
  167.         {100, 67, 116, 159},
  168.         RadioButton {
  169.             enabled,
  170.             "Note"
  171.         },
  172.         /* [11] */
  173.         {128, 7, 156, 57},
  174.         StaticText {
  175.             disabled,
  176.             "Create:"
  177.         },
  178.         /* [12] */
  179.         {128, 67, 144, 159},
  180.         RadioButton {
  181.             enabled,
  182.             "Selection"
  183.         },
  184.         /* [13] */
  185.         {144, 67, 160, 159},
  186.         RadioButton {
  187.             enabled,
  188.             "Path"
  189.         },
  190.         /* [14] */
  191.         {160, 67, 176, 159},
  192.         RadioButton {
  193.             enabled,
  194.             "Layer"
  195.         }
  196.     }
  197. };
  198.  
  199. /* Scripting resource */
  200.  
  201. resource 'aete' (ResourceID, "Scripting dictionary", purgeable)
  202. {
  203.     1, 0, english, roman,                    /* aete version and language specifiers */
  204.     {
  205.         "AdobeSDK",                            /* vendor suite name */
  206.         "Adobe example plug-ins",            /* optional description */
  207.         ourSuiteID,                            /* suite ID */
  208.         1,                                    /* suite code, must be 1 */
  209.         1,                                    /* suite level, must be 1 */
  210.         {                                    /* structure for filters */
  211.             "AdobeSDK shape",                /* unique selection name */
  212.             "shape selection plug-in",        /* optional description */
  213.             ourClassID,                        /* class ID, must be unique or Suite ID */
  214.             ourEventID,                        /* event ID, must be unique */
  215.  
  216.             NO_REPLY,                        /* never a reply */
  217.             IMAGE_DIRECT_PARAMETER,            /* direct parameter, used by Photoshop */
  218.             {                                                /* parameters here, if any */
  219.                 "shape",                        /* parameter name */
  220.                 keyShape,                                    /* parameter key ID */
  221.                 typeShape,                                    /* parameter type ID */
  222.                 "shape type",                                /* optional description */
  223.                 flagsEnumeratedParameter,                    /* parameter flags */
  224.     
  225.                 "create",                        /* parameter name */
  226.                 keyCreate,                                    /* parameter key ID */
  227.                 typeCreate,                                    /* parameter type ID */
  228.                 "create type",                                /* optional description */
  229.                 flagsEnumeratedParameter                    /* parameter flags */
  230.  
  231.             }
  232.         },
  233.         {},    /* non-filter plug-in class here */
  234.         {}, /* comparison ops (not supported) */
  235.         {                                                    /* enumerations */
  236.             typeShape,                                        /* type shape 'tshP' */
  237.             {
  238.                 "triangle",                        /* first value */
  239.                 shapeTriangle,                                 /* 'shP0' */
  240.                 "triangle path",                            /* optional description */
  241.                 
  242.                 "square",                        /* second value */
  243.                 shapeSquare,                                /* 'shP1' */
  244.                 "square path",                                /* optional description */
  245.  
  246.                 "circle",                        /* third value */
  247.                 shapeCircle,                                 /* 'shP2' */
  248.                 "circle path",                                /* optional description */
  249.  
  250.                 "star",                            /* fourth value */
  251.                 shapeStar,                                     /* 'shP3' */
  252.                 "star path",                                /* optional description */
  253.                 
  254.                 "treble",                        /* fifth value */
  255.                 shapeTreble,                                /* 'shP4' */
  256.                 "treble path",                                /* optional description */
  257.  
  258.                 "ribbon",                        /* sixth value */
  259.                 shapeRibbon,                                /* 'shP5' */
  260.                 "ribbon path",                                /* optional description */
  261.  
  262.                 "note",                            /* seventh value */
  263.                 shapeNote,                                    /* 'shP6' */
  264.                 "note path"                                    /* optional description */
  265.             },
  266.  
  267.             typeCreate,                                        /* type shape 'tshP' */
  268.             {
  269.                 "selection",                                /* first value */
  270.                 createSelection,                             /* 'crE0' */
  271.                 "make selection",                            /* optional description */
  272.                 
  273.                 "path",                                        /* second value */
  274.                 createMaskpath,                                /* 'crE1' */
  275.                 "make mask path",                            /* optional description */
  276.  
  277.                 "layer",                                    /* third value */
  278.                 createLayer,                                 /* 'crE2' */
  279.                 "make layer"                                /* optional description */
  280.             }
  281.         }    /* any enumerations */
  282.     }
  283. };
  284.  
  285. /* The paths. */
  286.  
  287. data PathResource (ResourceID, "Triangle") {
  288.     $"0006 0000 0000 0000 0000 0000 0000 0000"            /*................ */
  289.     $"0000 0000 0000 0000 0000 0000 0003 0000"            /*................ */
  290.     $"0000 0000 0000 0000 0000 0000 0000 0000"            /*................ */
  291.     $"0000 0000 0001 0086 8000 0016 8000 0086"            /*.......åÇ...Ç..å */
  292.     $"8000 0016 8000 0086 8000 0016 8000 0001"            /*Ç...Ç..åÇ...Ç... */
  293.     $"0015 8000 0088 0000 0015 8000 0088 0000"            /*..Ç..ê....Ç..ê.. */
  294.     $"0015 8000 0088 0000 0001 00C2 8000 00D0"            /*..Ç..ê.....┬Ç..- */
  295.     $"0000 00C2 8000 00D0 0000 00C2 8000 00D0"            /*...┬Ç..-...┬Ç..- */
  296.     $"0000"                                               /* .. */
  297. };
  298.  
  299. data PathResource (ResourceID+1, "Square") {
  300.     $"0006 0000 0000 0000 0000 0000 0000 0000"            /* ................ */
  301.     $"0000 0000 0000 0000 0000 0000 0004 0000"            /* ................ */
  302.     $"0000 0000 0000 0000 0000 0000 0000 0000"            /* ................ */
  303.     $"0000 0000 0001 002A AAAB 002A 684C 002A"            /* .......*¬½.*hL.* */
  304.     $"AAAB 002A 684C 002A AAAB 002A 684C 0001"            /* ¬½.*hL.*¬½.*hL.. */
  305.     $"00D6 2AAB 002A 684C 00D6 2AAB 002A 684C"            /* .╓*½.*hL.╓*½.*hL */
  306.     $"00D6 2AAB 002A 684C 0001 00D6 2AAB 00D5"            /* .╓*½.*hL...╓*½.╒ */
  307.     $"2AAB 00D6 2AAB 00D5 2AAB 00D6 2AAB 00D5"            /* *½.╓*½.╒*½.╓*½.╒ */
  308.     $"2AAB 0001 002A AAAB 00D5 2AAB 002A AAAB"            /* *½...*¬½.╒*½.*¬½ */
  309.     $"00D5 2AAB 002A AAAB 00D5 2AAB"                      /* .╒*½.*¬½.╒*½ */
  310. };
  311.  
  312. data PathResource (ResourceID+2, "Circle") {
  313.     $"0006 0000 0000 0000 0000 0000 0000 0000"            /* ................ */
  314.     $"0000 0000 0000 0000 0000 0000 0002 0000"            /* ................ */
  315.     $"0000 0000 0000 0000 0000 0000 0000 0000"            /* ................ */
  316.     $"0000 0000 0001 001F A5ED 00FB 2AAB 001F"            /* ........Ñφ.√*½.. */
  317.     $"A5ED 0080 425F 001F A5ED 0005 8000 0001"            /* Ñφ.ÇB_..Ñφ..Ç... */
  318.     $"00E0 0000 0005 0000 00E0 0000 0080 425F"            /* .α.......α...ÇB_ */
  319.     $"00E0 0000 00FA 12F7"                                /* .α...·.≈ */
  320. };
  321.  
  322. data PathResource (ResourceID+3, "Star") {
  323.     $"0006 0000 0000 0000 0000 0000 0000 0000"            /* ................ */
  324.     $"0000 0000 0000 0000 0000 0000 0003 0000"            /* ................ */
  325.     $"0000 0000 0000 0000 0000 0000 0000 0000"            /* ................ */
  326.     $"0000 0000 0001 002C F915 0077 A6F5 002C"            /* .......,∙..wª⌡., */
  327.     $"F915 0077 A6F5 002C F915 0077 A6F5 0001"            /* ∙..wª⌡.,∙..wª⌡.. */
  328.     $"009B ACF9 0032 1643 009B ACF9 0032 1643"            /* .¢¼∙.2.C.¢¼∙.2.C */
  329.     $"009B ACF9 0032 1643 0001 009F 2298 00B6"            /* .¢¼∙.2.C...ƒ"ÿ.╢ */
  330.     $"42C8 009F 2298 00B6 42C8 009F 2298 00B6"            /* B╚.ƒ"ÿ.╢B╚.ƒ"ÿ.╢ */
  331.     $"42C8 0000 0003 0000 0000 0000 0000 0000"            /* B╚.............. */
  332.     $"0000 0000 0000 0000 0000 0000 0001 0046"            /* ...............F */
  333.     $"EB3E 002F 4DEA 0046 EB3E 002F 4DEA 0046"            /* δ>./MΩ.Fδ>./MΩ.F */
  334.     $"EB3E 002F 4DEA 0001 0048 A60E 00B9 0B21"            /* δ>./MΩ...Hª..╣.! */
  335.     $"0048 A60E 00B9 0B21 0048 A60E 00B9 0B21"            /* .Hª..╣.!.Hª..╣.! */
  336.     $"0001 00C5 306F 0073 7A6F 00C5 306F 0073"            /* ...┼0o.szo.┼0o.s */
  337.     $"7A6F 00C5 306F 0073 7A6F"                           /* zo.┼0o.szo */
  338. };
  339.  
  340.  
  341. data PathResource (ResourceID+4, "Treble") {
  342.     $"0006 0000 0000 0000 0000 0000 0000 0000"            /* ................ */
  343.     $"0000 0000 0000 0000 0000 0000 0002 0000"            /* ................ */
  344.     $"0000 0000 0000 0000 0000 0000 0000 0000"            /* ................ */
  345.     $"0000 0000 0002 0059 D27D 0090 6C17 0057"            /* .......Y╥}.Él..W */
  346.     $"7777 008B 60B6 005B 5B06 008C 2222 0001"            /* ww.ï`╢.[[..î"".. */
  347.     $"006A 05B0 008C EEEF 0062 2222 0091 1111"            /* .j.░.îε∩.b"".æ.. */
  348.     $"005B 49F5 0094 9F4A 0000 000A 0000 0000"            /* .[I⌡.öƒJ........ */
  349.     $"0000 0000 0000 0000 0000 0000 0000 0000"            /* ................ */
  350.     $"0000 0002 004E 3E94 0087 6666 004C CCCD"            /* .....N>ö.çff.L╠═ */
  351.     $"0087 1C72 004E 8889 0085 4444 0001 0051"            /* .ç.r.Nêë.àDD...Q */
  352.     $"2222 0082 16C1 0053 3333 0080 B60B 0059"            /* "".é.┴.S33.Ç╢..Y */
  353.     $"F49F 007C 1C72 0001 0064 EEEF 007E 3E94"            /* ⌠ƒ.|.r...dε∩.~>ö */
  354.     $"0066 6666 0086 6666 0066 CCCD 0088 BBBC"            /* .fff.åff.f╠═.ê╗╝ */
  355.     $"0002 0065 C71C 008B 7D28 0065 B05B 008C"            /* ...e╟..ï}(.e░[.î */
  356.     $"CCCD 0063 49F5 008C 4444 0001 0060 DDDE"            /* ╠═.cI⌡.îDD...`▌▐ */
  357.     $"008B EEEF 005D DDDE 008B 60B6 0054 1111"            /* .ïε∩.]▌▐.ï`╢.T.. */
  358.     $"0089 8E39 0002 0056 EEEF 0087 38E4 005F"            /* .ëÄ9...Vε∩.ç8Σ._ */
  359.     $"49F5 0085 B05B 0060 49F5 0086 DDDE 0002"            /* I⌡.à░[.`I⌡.å▌▐.. */
  360.     $"0061 D27D 0088 0B61 0062 D82E 0089 3E94"            /* .a╥}.ê.a.b╪..ë>ö */
  361.     $"0062 60B6 0088 8889 0001 0063 2222 0087"            /* .b`╢.êêë...c"".ç */
  362.     $"DDDE 0062 D82E 0087 1C72 0061 1C72 0082"            /* ▌▐.b╪..ç.r.a.r.é */
  363.     $"AAAB 0001 0058 FA50 0082 2D83 0055 5555"            /* ¬½...X·P.é-â.UUU */
  364.     $"0084 FA50 0054 AAAB 0085 7777 0001 0053"            /* .ä·P.T¬½.àww...S */
  365.     $"DDDE 0088 4FA5 0053 3333 0088 8889 0050"            /* ▌▐.êOÑ.S33.êêë.P */
  366.     $"4444 0089 7777 0000 0006 0000 0000 0000"            /* DD.ëww.......... */
  367.     $"0000 0000 0000 0000 0000 0000 0000 0000"            /* ................ */
  368.     $"0002 0035 D82E 008B 3E94 0035 5555 008A"            /* ...5╪..ï>ö.5UU.è */
  369.     $"AAAB 0036 C71C 0089 9F4A 0001 0039 05B0"            /* ¬½.6╟..ëƒJ...9.░ */
  370.     $"0087 7D28 003B 05B0 0087 1C72 003C C16C"            /* .ç}(.;.░.ç.r.<┴l */
  371.     $"0086 C16C 0002 003E E93F 0087 1C72 0040"            /* .å┴l...>Θ?.ç.r.@ */
  372.     $"B60B 0087 1C72 0040 D27D 0087 5B06 0002"            /* ╢..ç.r.@╥}.ç[... */
  373.     $"0043 E93F 0087 1C72 0044 4444 0087 1C72"            /* .CΘ?.ç.r.DDD.ç.r */
  374.     $"0043 F49F 0087 5555 0001 0043 D82E 0088"            /* .C⌠ƒ.çUU...C╪..ê */
  375.     $"EEEF 0043 8E39 0089 3E94 0042 60B6 008A"            /* ε∩.CÄ9.ë>ö.B`╢.è */
  376.     $"71C7 0001 0038 4FA5 0090 16C1 0036 0B61"            /* q╟...8OÑ.É.┴.6.a */
  377.     $"008D 82D8 0035 93E9 008C FA50 0000 001A"            /* .ìé╪.5ôΘ.î·P.... */
  378.     $"0000 0000 0000 0000 0000 0000 0000 0000"            /* ................ */
  379.     $"0000 0000 0000 0002 0033 49F5 0087 16C1"            /* .........3I⌡.ç.┴ */
  380.     $"002E EEEF 008A AAAB 002E EEEF 008A AAAB"            /* ..ε∩.謽..ε∩.謽 */
  381.     $"0001 0030 9F4A 008D 4444 0031 1111 008D"            /* ...0ƒJ.ìDD.1...ì */
  382.     $"82D8 0037 1111 0090 E93F 0001 0041 C16C"            /* é╪.7...ÉΘ?...A┴l */
  383.     $"008F DDDE 0047 1C72 008C CCCD 0048 16C1"            /* .Å▌▐.G.r.î╠═.H.┴ */
  384.     $"008C 38E4 0001 004A 7777 0088 B05B 004B"            /* .î8Σ...Jww.ê░[.K */
  385.     $"60B6 0088 8889 004C 93E9 0088 49F5 0002"            /* `╢.êêë.LôΘ.êI⌡.. */
  386.     $"0050 4444 0089 9F4A 0052 7D28 0089 F49F"            /* .PDD.ëƒJ.R}(.ë⌠ƒ */
  387.     $"0052 D82E 008C A4FA 0001 0052 38E4 008E"            /* .R╪..îñ·...R8Σ.Ä */
  388.     $"38E4 0053 3333 0090 5B06 0055 C71C 0096"            /* 8Σ.S33.É[..U╟..û */
  389.     $"0000 0001 005F 0000 0096 05B0 0063 8E39"            /* ....._...û.░.cÄ9 */
  390.     $"0092 7D28 0065 1C72 0091 4444 0002 0065"            /* .Æ}(.e.r.æDD...e */
  391.     $"49F5 008F F49F 0066 6666 008E 38E4 006B"            /* I⌡.Å⌠ƒ.fff.Ä8Σ.k */
  392.     $"7777 008F 5555 0001 0075 E93F 0092 9F4A"            /* ww.ÅUU...uΘ?.ƃJ */
  393.     $"0078 2D83 008C CCCD 0078 7777 008C 05B0"            /* .x-â.î╠═.xww.î.░ */
  394.     $"0002 0077 B60B 008B 5B06 0078 2D83 008A"            /* ...w╢..ï[..x-â.è */
  395.     $"AAAB 0078 2D83 008A AAAB 0001 0079 1C72"            /* ¬½.x-â.謽...y.r */
  396.     $"0086 49F5 0078 2D83 0084 4444 0075 A4FA"            /* .åI⌡.x-â.äDD.uñ· */
  397.     $"007E D27D 0002 0070 C16C 0081 3E94 006D"            /* .~╥}...p┴l.ü>ö.m */
  398.     $"82D8 0083 8E39 006D C16C 0084 9F4A 0002"            /* é╪.âÄ9.m┴l.äƒJ.. */
  399.     $"006D 82D8 0086 05B0 006D 82D8 0087 1C72"            /* .mé╪.å.░.mé╪.ç.r */
  400.     $"006D A4FA 0087 2D83 0002 006E EEEF 0087"            /* .mñ·.ç-â...nε∩.ç */
  401.     $"D27D 006E EEEF 0087 D27D 006E EEEF 0087"            /* ╥}.nε∩.ç╥}.nε∩.ç */
  402.     $"D27D 0002 006F 8E39 0089 16C1 006F A4FA"            /* ╥}...oÄ9.ë.┴.oñ· */
  403.     $"0089 3E94 0070 6666 0089 27D2 0002 0073"            /* .ë>ö.pff.ë'╥...s */
  404.     $"9F4A 0088 93E9 0073 3333 0088 8889 0073"            /* ƒJ.êôΘ.s33.êêë.s */
  405.     $"3333 0088 8889 0002 0075 5555 0087 D27D"            /* 33.êêë...uUU.ç╥} */
  406.     $"0075 5555 0087 D27D 0075 5555 0087 93E9"            /* .uUU.ç╥}.uUU.çôΘ */
  407.     $"0002 0075 2D83 0085 D82E 0075 5555 0085"            /* ...u-â.à╪..uUU.à */
  408.     $"B05B 0075 C71C 0085 D82E 0002 0077 7777"            /* ░[.u╟..à╪....www */
  409.     $"0086 6666 0077 7777 0086 6666 0077 3333"            /* .åff.www.åff.w33 */
  410.     $"0087 C16C 0001 0077 D27D 0089 4FA5 0077"            /* .ç┴l...w╥}.ëOÑ.w */
  411.     $"7777 008A AAAB 0075 DDDE 0090 82D8 0002"            /* ww.謽.u▌▐.Éé╪.. */
  412.     $"006D F49F 008E 4FA5 0068 8889 008D 82D8"            /* .m⌠ƒ.ÄOÑ.hêë.ìé╪ */
  413.     $"0068 7777 008C 1111 0002 0068 2222 008D"            /* .hww.î.....h"".ì */
  414.     $"1111 0067 1C72 008C CCCD 0067 4FA5 008A"            /* ...g.r.î╠═.gOÑ.è */
  415.     $"1111 0001 0068 4FA5 0086 A4FA 0067 1C72"            /* .....hOÑ.åñ·.g.r */
  416.     $"0083 8E39 0064 9F4A 007D 38E4 0001 0059"            /* .âÄ9.dƒJ.}8Σ...Y */
  417.     $"8889 0078 71C7 0051 1111 007C 71C7 004E"            /* êë.xq╟.Q...|q╟.N */
  418.     $"8E39 007D 999A 0001 0046 F49F 0086 27D2"            /* Ä9.}ÖÜ...F⌠ƒ.å'╥ */
  419.     $"0045 B05B 0086 6666 0045 27D2 0086 7D28"            /* .E░[.åff.E'╥.å}( */
  420.     $"0001 0041 C71C 0085 05B0 0041 6C17 0084"            /* ...A╟..à.░.Al..ä */
  421.     $"FA50 0038 2222 0083 B05B"                           /* ·P.8"".â░[ */
  422. };
  423.  
  424. data PathResource (ResourceID+5, "Ribbon") {
  425.     $"0006 0000 0000 0000 0000 0000 0000 0000"            /* ................ */
  426.     $"0000 0000 0000 0000 0000 0000 000B 0000"            /* ................ */
  427.     $"0000 0000 0000 0000 0000 0000 0000 0000"            /* ................ */
  428.     $"0000 0000 0001 005C 3333 0066 B05B 005C"            /* .......\33.f░[.\ */
  429.     $"71C7 0067 1C72 0060 27D2 006D 8889 0002"            /* q╟.g.r.`'╥.mêë.. */
  430.     $"0065 C16C 0068 49F5 0069 F49F 0065 B05B"            /* .e┴l.hI⌡.i⌠ƒ.e░[ */
  431.     $"006B 8889 0066 E38E 0001 006D AAAB 006A"            /* .kêë.fπÄ...m¬½.j */
  432.     $"2222 006F A4FA 006A AAAB 0070 71C7 006A"            /* "".oñ·.j¬½.pq╟.j */
  433.     $"DDDE 0002 0071 B05B 006A 5B06 0072 7D28"            /* ▌▐...q░[.j[..r}( */
  434.     $"006A AAAB 0073 B05B 0069 60B6 0001 0075"            /* .j¬½.s░[.i`╢...u */
  435.     $"A4FA 0066 1C72 0077 7777 0065 B05B 0078"            /* ñ·.f.r.www.e░[.x */
  436.     $"0B61 0065 8889 0001 007C 9F4A 0068 0000"            /* .a.eêë...|ƒJ.h.. */
  437.     $"007B 05B0 0065 B05B 0077 2D83 0060 27D2"            /* .{.░.e░[.w-â.`'╥ */
  438.     $"0002 0072 6C17 0064 DDDE 006F A4FA 0067"            /* ...rl..d▌▐.oñ·.g */
  439.     $"D27D 006E 1111 0067 16C1 0001 006C CCCD"            /* ╥}.n...g.┴...l╠═ */
  440.     $"0067 4FA5 006B 60B6 0066 6666 0069 0000"            /* .gOÑ.k`╢.fff.i.. */
  441.     $"0064 D82E 0001 0068 60B6 0061 A4FA 0064"            /* .d╪....h`╢.añ·.d */
  442.     $"4444 0063 8E39 0063 60B6 0063 F49F 0001"            /* DD.cÄ9.c`╢.c⌠ƒ.. */
  443.     $"0062 4FA5 0066 C71C 0061 6C17 0067 1C72"            /* .bOÑ.f╟..al..g.r */
  444.     $"0061 6C17 0067 1C72 0002 0060 0000 0067"            /* .al..g.r...`...g */
  445.     $"1C72 0060 0000 0067 1C72 0060 0B61 0067"            /* .r.`...g.r.`.a.g */
  446.     $"1C72"                                               /* .r */
  447. };
  448.  
  449. data PathResource (ResourceID+6, "Note") {
  450.     $"0006 0000 0000 0000 0000 0000 0000 0000"            /* ................ */
  451.     $"0000 0000 0000 0000 0000 0000 0002 0000"            /* ................ */
  452.     $"0000 0000 0000 0000 0000 0000 0000 0000"            /* ................ */
  453.     $"0000 0000 0002 0083 5B06 006A B05B 007E"            /* .......â[..j░[.~ */
  454.     $"93E9 0062 D82E 0088 71C7 0065 BBBC 0002"            /* ôΘ.b╪..êq╟.e╗╝.. */
  455.     $"0089 6666 006A 60B6 0090 5B06 006F A4FA"            /* .ëff.j`╢.É[..oñ· */
  456.     $"0084 BBBC 006E 1111 0000 000B 0000 0000"            /* .ä╗╝.n.......... */
  457.     $"0000 0000 0000 0000 0000 0000 0000 0000"            /* ................ */
  458.     $"0000 0002 0080 E93F 0061 999A 0073 E93F"            /* .....ÇΘ?.aÖÜ.sΘ? */
  459.     $"0062 2222 007B 9F4A 0064 BBBC 0001 007D"            /* .b"".{ƒJ.d╗╝...} */
  460.     $"FA50 006B A4FA 0084 4444 006E EEEF 0089"            /* ·P.kñ·.äDD.nε∩.ë */
  461.     $"8E39 0071 B05B 0001 008D 1111 006F 82D8"            /* Ä9.q░[...ì...oé╪ */
  462.     $"0093 3333 0070 5B06 0093 3333 0070 5B06"            /* .ô33.p[..ô33.p[. */
  463.     $"0001 0096 0B61 0071 C71C 0096 0B61 0071"            /* ...û.a.q╟..û.a.q */
  464.     $"C71C 0099 FA50 0072 2D83 0001 009E EEEF"            /* ╟..Ö·P.r-â...₧ε∩ */
  465.     $"0071 38E4 00A1 6C17 006F A4FA 00A1 9F4A"            /* .q8Σ.íl..oñ·.íƒJ */
  466.     $"006F 82D8 0002 00A1 F49F 006E 49F5 00A2"            /* .oé╪...í⌠ƒ.nI⌡.ó */
  467.     $"2222 006E 38E4 0092 7D28 0072 FA50 0002"            /* "".n8Σ.Æ}(.r·P.. */
  468.     $"0090 EEEF 006D 2222 008A AAAB 0062 D82E"            /* .Éε∩.m"".謽.b╪. */
  469.     $"0091 F49F 0062 D82E 0001 009E D27D 0064"            /* .æ⌠ƒ.b╪....₧╥}.d */
  470.     $"9F4A 00A5 B05B 0062 D82E 00AC 0B61 0061"            /* ƒJ.Ñ░[.b╪..¼.a.a */
  471.     $"27D2 0001 00B1 60B6 004F 5555 00A5 B05B"            /* '╥...▒`╢.OUU.Ñ░[ */
  472.     $"0051 C71C 00A4 F49F 0051 E93F 0001 00A4"            /* .Q╟..ñ⌠ƒ.QΘ?...ñ */
  473.     $"0B61 0053 7777 00A3 8E39 0053 E93F 009E"            /* .a.Sww.úÄ9.SΘ?.₧ */
  474.     $"C16C 0058 05B0 0002 009E 6C17 0059 AAAB"            /* ┴l.X.░...₧l..Y¬½ */
  475.     $"009F 49F5 0061 6C17 0091 1111 0061 6C17"            /* .ƒI⌡.al..æ...al. */
  476. };
  477.